# @Version : 1.0
# @Author  : 刘宇
# @File    : 23_while_exercise04.py
# @Time    : 2025/10/7 22:16


i = 1
max_num = 100
count = 0
sum = 0

while i <= max_num:
    if i % 9 == 0:
        print(i)
        count += 1
        sum += i
    i += 1

print(f"count={count}  sum={sum}")
